/* eslint-disable */ 
import instance from './request'


export const login = (res) => {
    return instance({
        url: 'http://121.5.255.87:5000/login',
        method: 'POST',
        data: res

    })
}

export const getInfo = (res) => {
    return instance({
        url: 'http://121.5.255.87:5000/getinfo',
        method: 'POST',
        data: res
    })
}


export const logout = (res) => {
    return instance({
        url: 'http://121.5.255.87:5000/logout',
        method: 'POST',
        data: res
    })
}


export default { login, getInfo,logout }